package com.ydy.service.auth;

import java.util.List;
import java.util.Map;

import com.ydy.dto.RelationRoleAuthDTO;
import com.ydy.model.Auth;
import com.ydy.model.RelationRoleAuth;
import com.ydy.vo.other.BaseVo;

public interface AuthService {

	BaseVo refresh();

	List<Auth> listAdminAuth();

	List<Auth> listStaffAuth();

	BaseVo save(RelationRoleAuthDTO authDTO);

	Map<String, RelationRoleAuth> listOneRoleAuths(Long roleId);

	Map<String, RelationRoleAuth> listManyRolesAuths(List<Long> roleIds);

}
